package com.example.newnoke.data;

import java.util.List;

public class BannerData {

    /**
     * code : 200
     * message : 查询成功
     * data : [{"id":1,"position":0,"name":"111","thumb":"/uploads/image/20181115/20181115033801NWD6W.png"}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * position : 0
         * name : 111
         * thumb : /uploads/image/20181115/20181115033801NWD6W.png
         */

        private int id;
        private int position;
        private String name;
        private String thumb;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getPosition() {
            return position;
        }

        public void setPosition(int position) {
            this.position = position;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }
    }
}
